#ifndef IEDITORS_H
#define IEDITORS_H

#include <QWidget>
#include "Include/IPluginBase.h"

namespace Plugins
{

class IEditor;
class Project;

class IEditors: public IPluginBase
{
public:
    enum EditorType {
        Text = 0,
        Python,
        XML,
        QRC,
        QML,
        UI,
        Jinja
    };
    virtual ~IEditors(){}
    virtual QWidget * widget() = 0;
    virtual IEditor * createEditor(IEditors::EditorType type, QWidget * parent) = 0;
    virtual void setProject(Project *) = 0;
};

}
Q_DECLARE_INTERFACE(Plugins::IEditors, "Plugins.IEditors/1.0")

#endif
